Belgelerim/ceng_491/implementation/doxygen/TraffEdu_Developers_Manual_Reference_ToSource/RightView.cpp File Reference

#include "stdafx.h"
#include "TraffEdu.h"
#include "TraffEduDoc.h"
#include "RightView.h"
#include "MainFrm.h"
#include "0SGWindows/OSGEventHandler.h"
#include "0SGWindows/OSGWindows.h"
#include "0SGWindows/timeline.h"
#include "fundementals/Wheel.h"
#include "fundementals/TraffEduObject.h"
#include "fundementals/Vehicle.h"
#include "fundementals/TrafficSign.h"
#include "fundementals/TrafficLight.h"
#include "fundementals/CarModels.h"
#include "GUIEventHandler/CommandCamera.h"
#include "GUIEventHandler/CommandText.h"
#include "TextDlg.h"
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <osg/Node>
#include <osg/Matrix>
#include <osg/Geode>
#include <osg/ShapeDrawable>
#include <osg/Material>
#include <osg/Texture2D>
#include <osg/MatrixTransform>
#include <osg/PositionAttitudeTransform>
#include <osg/BlendFunc>
#include <osg/ClearNode>
#include <osg/Projection>
#include <osgUtil/Tesselator>
#include <osgUtil/CullVisitor>
#include <osgUtil/Optimizer>
#include <osgGA/TrackballManipulator>
#include <osgProducer/Viewer>
#include <osgSim/ScalarsToColors>
#include <osgSim/ColorRange>
#include <osgSim/ScalarBar>
#include <Producer/RenderSurface>
#include <sstream>
#include <math.h>
#include <osg/Depth>
#include <osg/CameraNode>
#include <osg/io_utils>
#include <osgText/Text>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/Quat>
#include <osg/Geometry>
#include <osg/Transform>
#include <osg/NodeCallback>
#include <osg/CullFace>
#include <osg/TexMat>
#include <osg/TexGen>
#include <osg/TexEnv>
#include <osg/TexEnvCombine>
#include <osg/TextureCubeMap>
#include <osg/VertexProgram>

Go to the source code of this file.

Namespaces

namespace  osgSim

Classes

class  MoveEarthySkyWithEyePointTransform
struct  TexMatCallback

Defines

#define CUBEMAP_FILENAME(face)   "Data/sky.png"

Functions

osg::TextureCubeMap * readCubeMap ()
osg::Node * createSkyBox ()

Variables

UINT WM_OSGMFCSTARTRENDERINGRIGHT = ::RegisterWindowMessage(_T("WM_OSGMFCSTARTRENDERINGRIGHT"))
osg::Matrixd myCameraMatrix
osg::Matrixd cameraRotation
osg::Matrixd cameraTrans
OSGWindows * osgwind


Define Documentation

#define CUBEMAP_FILENAME (  face   )     "Data/sky.png"
 

Referenced by readCubeMap().


Function Documentation

osg::Node* createSkyBox (   ) 
 

Definition at line 280 of file RightView.cpp.

Referenced by RightView::SetSceneData().

osg::TextureCubeMap* readCubeMap (   ) 
 

Definition at line 189 of file RightView.cpp.

References CUBEMAP_FILENAME.


Variable Documentation

osg::Matrixd cameraRotation
 

Definition at line 186 of file RightView.cpp.

osg::Matrixd cameraTrans
 

Definition at line 187 of file RightView.cpp.

osg::Matrixd myCameraMatrix
 

Definition at line 185 of file RightView.cpp.

OSGWindows* osgwind
 

Definition at line 323 of file RightView.cpp.

Referenced by OSGWindows::addCommandCopy(), OSGWindows::addCommandCut(), OSGWindows::addCommandDelete(), OSGWindows::addCommandDeselect(), OSGWindows::addCommandDeselectAll(), OSGWindows::addCommandInsertEnvObj(), OSGWindows::addCommandInsertTrafficLight(), OSGWindows::addCommandInsertTrafficSign(), OSGWindows::addCommandInsertVehicle(), OSGWindows::addCommandPaste(), OSGWindows::addCommandRotate(), OSGWindows::addCommandSelect(), OSGWindows::addCommandSelectAll(), OSGWindows::addCommandTranslate(), OSGWindows::addNewFrame(), TraffEduObject::addObjectPAT(), TraffEduObject::addTree(), OSGWindows::changeCurrentFrame(), CommandCamera::CommandCamera(), CommandCopy::CommandCopy(), CommandCut::CommandCut(), CommandDelete::CommandDelete(), CommandDeselect::CommandDeselect(), CommandDeselectAll::CommandDeselectAll(), CommandInsertEnvObj::CommandInsertEnvObj(), CommandInsertTrafficLight::CommandInsertTrafficLight(), CommandInsertTrafficSign::CommandInsertTrafficSign(), CommandInsertVehicle::CommandInsertVehicle(), CommandPaste::CommandPaste(), CommandRotate::CommandRotate(), CommandSelect::CommandSelect(), CommandSelectAll::CommandSelectAll(), CommandText::CommandText(), CommandTranslate::CommandTranslate(), CommandView::CommandView(), TraffEduObject::deleteObjectPAT(), AnimationWindow::deselectAll(), TraffEduObject::display(), OSGEventHandler::drag(), OSGEventHandler::drawBuilding(), OSGEventHandler::drawLight(), OSGEventHandler::drawSign(), OSGEventHandler::drawTree(), OSGEventHandler::drawVehicleDodge(), OSGEventHandler::drawVehicleSemi(), CommandSelect::execute(), OSGWindows::fillSelectedObjects(), TraffEduObject::getPAT(), TraffEduObject::getPosition(), TraffEduObject::getRotate(), TraffEduObject::getScale(), OSGEventHandler::handle(), FileHandler::loadFile(), OSGWindows::loadFrame(), AnimationWindow::loadSkyBox(), RoadForm::OnBnClickedButton10(), RightView::OnCameraPitchdown(), RightView::OnCameraPitchup(), RightView::OnCameraYawleft(), RightView::OnCameraYawright(), RightView::OnCameraZoomin(), RightView::OnCameraZoomout(), RightView::OnDikkat(), RightView::OnEnvironmentalobjectHouse32909(), RightView::OnFreeplacerightmenuInsertaudio(), RightView::OnFreeplacerightmenuInserttext(), RightView::OnFreeplacerightmenuPaste(), RightView::OnObjectrightmenuCopy(), RightView::OnObjectrightmenuCut(), RightView::OnObjectrightmenuDelete(), RightView::OnObjectrightmenuRotate(), RightView::OnPaint(), RightView::OnTrafficlightGreen(), RightView::OnTrafficlightRed(), RightView::OnTrafficlightYellow(), RightView::OnTrafficsignAda(), RightView::OnTrafficsignIlerimecburiyon32950(), RightView::OnTrafficsignIlerimecburiyon32967(), RightView::OnTrafficsignIlerivasagamecburiyon32951(), RightView::OnTrafficsignIlerivasagamecburiyon32968(), RightView::OnTrafficsignIlerivesolamecburiyon32952(), RightView::OnTrafficsignIlerivesolamecburiyon32969(), RightView::OnTrafficsignIsikliisaretcihazi32932(), RightView::OnTrafficsignOndekitasitigecmekyasaktir32947(), RightView::OnTrafficsignOndekitasitigecmekyasaktir32964(), RightView::OnTrafficsignSagadonulmez32944(), RightView::OnTrafficsignSagadonulmez32961(), RightView::OnTrafficsignSagamecburiyon32948(), RightView::OnTrafficsignSagamecburiyon32965(), RightView::OnTrafficsignSaganayol32937(), RightView::OnTrafficsignSaganayol32959(), RightView::OnTrafficsignSagasureklitehlikeliviraj32935(), RightView::OnTrafficsignSagasureklitehlikeliviraj32958(), RightView::OnTrafficsignSagatehlikeliviraj32933(), RightView::OnTrafficsignSoladonulmez32945(), RightView::OnTrafficsignSoladonulmez32962(), RightView::OnTrafficsignSolamecburiyon32949(), RightView::OnTrafficsignSolamecburiyon32966(), RightView::OnTrafficsignSolanayol32942(), RightView::OnTrafficsignSolanayol32960(), RightView::OnTrafficsignSolasureklitehlikeliviraj32936(), RightView::OnTrafficsignSolasureklitehlikeliviraj32956(), RightView::OnTrafficsignSolatehlikeliviraj32957(), RightView::OnTrafficsignUdonusuyapilmaz32946(), RightView::OnTrafficsignUdonusuyapilmaz32963(), RightView::OnTrafficsignYolver32931(), RightView::OnUpdateDikkat(), RightView::OnUpdateEnvironmentalobjectHouse(), RightView::OnUpdateEnvironmentalobjectHouse32909(), RightView::OnUpdateFreeplacerightmenuInsertaudio(), RightView::OnUpdateTrafficsignIlerimecburiyon32950(), RightView::OnUpdateTrafficsignIlerivasagamecburiyon32951(), RightView::OnUpdateTrafficsignIlerivesolamecburiyon32952(), RightView::OnUpdateTrafficsignIsikliisaretcihazi32932(), RightView::OnUpdateTrafficsignOndekitasitigecmekyasaktir32947(), RightView::OnUpdateTrafficsignSagadonulmez32944(), RightView::OnUpdateTrafficsignSagamecburiyon32948(), RightView::OnUpdateTrafficsignSaganayol32937(), RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32935(), RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32958(), RightView::OnUpdateTrafficsignSagatehlikeliviraj32933(), RightView::OnUpdateTrafficsignSoladonulmez32945(), RightView::OnUpdateTrafficsignSolamecburiyon32949(), RightView::OnUpdateTrafficsignSolanayol32942(), RightView::OnUpdateTrafficsignSolasureklitehlikeliviraj32936(), RightView::OnUpdateTrafficsignSolatehlikeliviraj32934(), RightView::OnUpdateTrafficsignSolatehlikeliviraj32957(), RightView::OnUpdateTrafficsignUdonusuyapilmaz32946(), RightView::OnUpdateTrafficsignYolver32931(), RightView::OnUpdateVehicleAutomobile(), RightView::OnUpdateVehicleTruck(), RightView::OnVehicleAutomobile(), RightView::OnVehicleKamyon(), RightView::OnVehicleTruck(), TimelineEventHandler::paintGrey(), TimelineEventHandler::paintWhiteAll(), RightView::RenderFrame(), OSGEventHandler::rightClickMenu(), RightView::RightView(), FileHandler::saveFile(), TimelineEventHandler::select(), OSGEventHandler::select(), TraffEduObject::setPosition(), Vehicle::setPositionAll(), TraffEduObject::setRotate(), TraffEduObject::setScale(), RightView::SetSceneData(), TrafficLight::TrafficLight(), Vehicle::Vehicle(), and RightView::~RightView().

UINT WM_OSGMFCSTARTRENDERINGRIGHT = ::RegisterWindowMessage(_T("WM_OSGMFCSTARTRENDERINGRIGHT"))
 

Definition at line 93 of file RightView.cpp.


Generated on Sun May 28 18:54:11 2006 for TraffEdu by  doxygen 1.4.6-NO